-- GENERATED SPELL FOR [Scarlet Soldier] --


function spell0_4286(pUnit, Event) --@Improved Blocking,Self--
pUnit:FullCastSpellOnTarget(3639,pUnit)
pUnit:RegisterEvent('Sorts_4286', 6318, 1)
end

function Sorts_4286(pUnit, Event)
local choix_sorts_4286 = math.random(0, 0)
if choix_sorts_4286 == 0 then
pUnit:RegisterEvent('spell0_4286', 1, 1)
end
end

function mob4286_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4286', math.random(1500, 3000), 1)
end

function mob4286_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4286_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4286_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4286, 1, 'mob4286_Action')
RegisterUnitEvent(4286, 2, 'mob4286_Leave')
RegisterUnitEvent(4286, 3, 'mob4286_Kill')
RegisterUnitEvent(4286, 4, 'mob4286_Die')
